export Function
SwitchInlineQueryChosenChat ​
Constructor ​
ts
KeyboardButton.SwitchInlineQueryChosenChat( text, switch_inline_query_chosen_chat )
Parameter | Type | Description |
---|---|---|
text | string | Label text on the button. |
switch_inline_query_chosen_chat | SwitchInlineQueryChosenChat | If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. |
Return: KeyboardButtonPayload